package com.videomeetting.legend.videomeetting.activity.base;

import android.app.Application;
import android.content.Context;

import com.blankj.utilcode.util.Utils;
import com.videomeetting.legend.videomeetting.activity.ControlActivity;

import org.video.stream.Mmixer;

/**
 * Created by legend on 18-7-16.
 */

public class BaseApplication extends Application {
    private static BaseApplication instance;
    public static String TAG = "legend";
    public BaseApplication() {
        super();
    }
    Mmixer mMixer;
    ControlActivity.CHInfo[] chAll;
    public static Context getMyApplication() {
        return instance;
    }

    public Mmixer getmMixer() {
        return mMixer;
    }

    public void setmMixer(Mmixer mMixer) {
        this.mMixer = mMixer;
    }

    public ControlActivity.CHInfo[] getInfo() {
        return chAll;
    }

    public void setInfo(ControlActivity.CHInfo[] chAll) {
        this.chAll = chAll;
    }
    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        Utils.init(this);
    }
}
